import hashlib

def pwd(txt):
    md5_ = hashlib.md5()
    md5_.update(txt.encode('utf-8'))
    # 添加一条规则，避免别人直接拿密码去md5解密网站解密
    md5_.update('@disen@8888$#*%'.encode('utf-8'))
    return md5_.hexdigest()

if __name__ == '__main__':
    pwd(000000)